package com.example.demo1.week2.week2_5;

import java.util.Scanner;

public class MyClassTest {
    public static void main(String[] args) {
        Scanner myObj = new Scanner(System.in);
        System.out.println("请输入用户名");

        String userName = myObj.nextLine();
        System.out.println("用户名："+userName);
    }
}
